<template>
    <div>
        <input type="text" :value="value" @input="iptChange">
        <div>
            <slot></slot>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        value: String,
        aaa: String
    },

    methods: {
        iptChange(e) {
            this.$emit('update:input', e.target.value)
        }
    }
}
</script>

<style scoped>
</style>